package com.example.dao;

import com.example.pojo.Toupiao;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper
@Repository
public interface ToupiaoDao {
    int insert(Toupiao record);

    int insertSelective(Toupiao record);

    int update(Toupiao record);

    List<Toupiao> findAll();

    Toupiao find(String id);

    double findPrice(String id);

    int delete(String id);
}